<html>
<title>Web Assembly Work</title>
<head>
    <meta charset="utf-8">
    <script src="wasm_exec.js"></script>
    <script>
        const go = new Go();
        console.log(go.importObject);
        console.log(fetch("main.wasm").then(res => {
          console.log(res);
        }))
        WebAssembly.instantiateStreaming(fetch("main.wasm"), go.importObject).then((result) => {
          console.log(result);
          go.run(result.instance);
        }).catch(e => {
          console.log(e);
        });
    </script>
</head>
<body>
<div id="main">
    <center>
        Check the javascript console output of your browser to ensure execution.
    </center>
</div>
</body>
</html>
